import ins from '@/utils/request'
export const getCateListAPI = () => ins.get('/my/cate/list')
// obj的格式为{cate_name，cate_alias}
export const addCateAPI = obj => ins.post('/my/cate/add', obj)
export const editCateAPI = obj => ins.put('/my/cate/info', obj)
export const deleteCateAPI = id => ins.delete('/my/cate/del', { params: { id } })
